//
//  TT_WebView.h
//  BaseProject
//
//  Created by 王洋 on 2021/1/25.
//  Copyright © 2021 王洋. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <WebKit/WebKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface TT_WebView : UIView

@property (nonatomic, strong) WKWebView *webview;

@property (nonatomic, copy) NSString *webUrl;

@property (nonatomic, copy) NSString *htmlString;

@property (nonatomic, copy) void(^TT_WebViewCloseBlock)(void);

- (void)loadWithUrl:(NSString *)url htmlStr:(NSString *)htmlStr;

@end

NS_ASSUME_NONNULL_END
